Application Integration Quiz

A short quiz to jog your memory

6

A client is in the design phase of developing an application that will process orders for their online ticketing system. The application will use a number of front-end EC2 instances that pick up orders and place them in a queue for processing by another set of back-end EC2 instances. The client will have multiple options for customers to choose the level of service they want to pay for.

How can the client design the application to process the orders in a prioritized way based on the level of service the customer has chosen?

Your Answer
A)

Create multiple SQS queues, configure the front-end application to place orders onto a specific queue based on the level of service requested, and configure the back-end instances to sequentially poll the queues in order of priority.

Explanation

The best option is to create multiple queues and configure the application to place orders onto a specific queue based on the level of service. You then configure the back-end instances to poll these queues in order of priority, so they pick up the higher priority jobs first.

B)

Create a combination of FIFO queues and Standard queues, and configure the applications to place messages into the relevant queue based on priority.

Explanation

Creating a combination of FIFO and standard queues is incorrect as creating a mixture of queue types is not the best way to separate the messages. There is nothing in this option that explains how the messages would be picked up in the right order.

C)

Create a single SQS queue, configure the front-end application to place orders on the queue in order of priority and configure the back-end instances to poll the queue and pick up messages in the order they are presented

Explanation

Create a single SQS queue, configure the front-end application to place orders on the queue in order of priority, and configure the back-end instances to poll the queue and pick up messages in the order that they are presented in.

D)

Create multiple SQS queues, configure exactly-once processing, and set the maximum visibility timeout to 12 hours.

Explanation

Creating multiple SQS queues and configuring exactly-once processing (only possible with FIFO) would not ensure that the order of the messages is prioritized.

Question 6 of 66 attempted

AWS Step Functions

Amazon Workspaces